package wms

import (
	"sync"
)

// Senderinfowlbwmsreturnordernotify 结构体
type Senderinfowlbwmsreturnordernotify struct {
	// 发件人邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`
	// 发件人省份
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 发件人城市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 发件人区县
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
	// 发件人镇村
	SenderTown string `json:"sender_town,omitempty" xml:"sender_town,omitempty"`
	// 发件人地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件人姓名
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 发件人手机，手机与电话二选一传入
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 发件人电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
}

var poolSenderinfowlbwmsreturnordernotify = sync.Pool{
	New: func() any {
		return new(Senderinfowlbwmsreturnordernotify)
	},
}

// GetSenderinfowlbwmsreturnordernotify() 从对象池中获取Senderinfowlbwmsreturnordernotify
func GetSenderinfowlbwmsreturnordernotify() *Senderinfowlbwmsreturnordernotify {
	return poolSenderinfowlbwmsreturnordernotify.Get().(*Senderinfowlbwmsreturnordernotify)
}

// ReleaseSenderinfowlbwmsreturnordernotify 释放Senderinfowlbwmsreturnordernotify
func ReleaseSenderinfowlbwmsreturnordernotify(v *Senderinfowlbwmsreturnordernotify) {
	v.SenderZipCode = ""
	v.SenderProvince = ""
	v.SenderCity = ""
	v.SenderArea = ""
	v.SenderTown = ""
	v.SenderAddress = ""
	v.SenderName = ""
	v.SenderMobile = ""
	v.SenderPhone = ""
	poolSenderinfowlbwmsreturnordernotify.Put(v)
}
